import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import(/* webpackChunkName: "home" */ '../views/Home.vue')
  },
  {
    path: '/about',
    name: 'about',
    component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
  },
  {
    path: '/jishiben',
    name: 'jishiben',
    component: () => import(/* webpackChunkName: "jishiben" */ '../views/Jishiben.vue')
  },
  {
    path: '/tupian',
    name: 'tupian',
    component: () => import(/* webpackChunkName: "tupian" */ '../views/Tupian.vue')
  },
  {
    path: '/shouji',
    name: 'shouji',
    component: () => import(/* webpackChunkName: "shouji" */ '../views/shouji.vue')
  },
  {
    path: '/tianzhidao',
    name: 'tianzhidao',
    component: () => import(/* webpackChunkName: "tianzhidao" */ '../views/tianzhidao.vue')
  },
  {
    path: '/danyemfq',
    name: 'danyemfq',
    component: () => import(/* webpackChunkName: "danyemfq" */ '../views/danyemfq.vue')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
